define(function(require, exports, module) {
    var Modal = require('tool/modal');
    $('.cancel-top').click(function() {
        Modal.modal({
            title: "取消TOP推荐",
            content: "<div class='alert-info'>取消TOP推荐后将影响商品流量，确认取消？</div>",
            modalClass: "",
            btns: ["<div class='btn btn-blue'>确定</div>", "<div class='btn btn-default modal-close'>取消</div>"]
        });
    })
    $('.cancel-cc').click(function() {
        Modal.modal({
            title: "取消橱窗推荐",
            content: __inline('tpl/cancel-cc.html'),
            modalClass: "",
            modalclose:"show",
            btns: ["<div class='btn btn-blue'>确定</div>", "<div class='btn btn-default modal-close'>取消</div>"]
        });
    })
    $('.set-cc').click(function() {
        Modal.modal({
            title: "橱窗推荐",
            content:__inline('tpl/set-cc.html'),
            modalClass: "",
            btns: ["<div class='btn btn-blue'>确定</div>", "<div class='btn btn-default modal-close'>取消</div>"]
        });
    })
    $('.set-cc-rank').click(function() {
        Modal.modal({
            title: "设置橱窗排名",
            content:__inline('tpl/set-cc-rank.html'),
            modalClass: "",
            modalclose:"show",
            btns: ["<div class='btn btn-blue'>确定</div>", "<div class='btn btn-default modal-close'>取消</div>"]
        });
    })
});
